package cn.bandeqing.attachment.rpc;

import cn.bandeqing.attachment.req.AttachmentListReq;
import cn.bandeqing.attachment.req.AttachmentUploadReq;
import cn.bandeqing.attachment.req.RemoveReq;
import cn.bandeqing.attachment.resp.AttachmentDetail;
import cn.bandeqing.base.resp.Resp;

import java.util.List;

public interface IAttachmentRpc {

    Resp<Void> upload(AttachmentUploadReq req);

    Resp<Void> remove(RemoveReq req);

    Resp<List<AttachmentDetail>> list(AttachmentListReq req);

}
